package best.driver.android.common.network;

public class BestApiError extends BestError {

    /**
     * 错误码
     */
    private String mErrorCode;

    /**
     * 错误描述信息
     */
    private String mErrorMessage;


    public BestApiError(String errorCode, String errorMessage) {
        this.mErrorCode = errorCode;
        this.mErrorMessage = errorMessage;
    }

    public String getErrorCode() {
        return mErrorCode;
    }

    public void setErrorCode(String errorCode) {
        mErrorCode = errorCode;
    }

    public String getErrorMessage() {
        return mErrorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        mErrorMessage = errorMessage;
    }

    @Override
    public String toString() {
        return "ChoiceApiError{" +
                "mErrorCode=" + mErrorCode +
                ", mErrorMessage='" + mErrorMessage + '\'' +
                '}';
    }
}
